package com.euc.springbootframework.dao;

import com.euc.springbootframework.dao.base.BaseDao;
import com.euc.springbootframework.entity.Role;
import com.euc.springbootframework.entity.User;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleDao extends BaseDao<Role, String> {

    public List<Role> findByUsersUsername(String name);
}
